add route to get current user
fix bug in cookies
fix bug of cookies, done sign in and sign out