moved some code, added hitting enter to login