added some post request to login and register

using python requests module