implemented login/logout functionality
start the backend for the user.