add userinfo and redirect to user profile after login; add jade pretty setting in config