Adds more basic functionality to login page