added basic functionality to login including going to the home page which is currently a settings page and needs editing