Login changes
Saving user into session and adding login check api which can be used for restricted routes