added in some better login functionality

notably enter submit and nice server error messages