Added GET flag to tell user login has failed