logout controller
fixing this login mess