Get authentication and profiles working