login and mobile token

Added json login and json mobile request handler