added several tests for user profile and fixed some login tests