added user info editing, minor login bug fix