Created login and account controller