Bug fix and API change

Format AdminRequest to JSON and Fix bug on loggin request page