corrected problems with login/signup pages and cookie token (control and views)