Added error message if you try to create without being logged in