Added session creation on signup and signin, finished with signin
Added setting cookies and sessions on signup and signin