started adding authentication and routing