altered login and create apis to make it the same as web process
Merge pull request #16 from gideonaireX/master

altered login and create apis to make it the same as web process