login, and register functionalities included