Changed signin thing to a post request