Changed login page to exit when back is pressed