add login and logout functionalites or features