Added createBracket function to submit bracket to database at api/brackets