error checking in signup form is done in client side
adding remember me while login
but the token is not used for login using cookies