added option to store login

-store email and password as a cookie (set to 1 minute)
changed location

moved cookie check to login not registration