Login and logout actions added(Without testing)