Add function to find newest study id
Start implementing addition of new studies
Check for the lack of an auth_token earlier and respond with JSON when returning a 400
Implement study creation and refactor to increase code reuse between POST and PUT