Added the login API
Added extra HTTP functions for the User