added tests, user profile