modified names of signup and login method, different the database methods from the actions methods