Edited AccountContoller implementation and some UserSession new implementation