fixed all bugs in program
implement remember_me functionality