added profile link
fixed login issue, user model tests