add routes and schema for login