Edit AccountController

move login logout into AccountController