Added login and deleting from database.