Added and amended files so users are now being successfully added to the database.