seperate schema creation from post and user collection actions