Added login for writers and relational database.