changed a little login processing in mobile