from pyramid.view import view_config, view_defaults
from pyramid.httpexceptions import HTTPFound
from pyramid.response import Response
from pyramid.renderers import render_to_response
import json
from . import session_validation
from passlib.hash import sha256_crypt

@view_config(request_method = 'GET', route_name = 'profile')
@session_validation
def getLoginPage(request):
    response = render_to_response('templates/home/profile.jinja2',{}, request = request)
    return response