Implemented login, logout and signup with routes