AccountAPI Controller with Register and Login Methods