signup, login, logout functionalities using sessions