add remember-me checkbox, functionality and passing tests