Forced http and changed login from get to post