redirect users correctly
fix bugs related to user route