Removed double check on button click in login