Added logout action
Added register action
Added register action