Fixed login bug; added new page for add story to database