fix login routing to profile