Added login api
Added logout api