Moved registration into User class, articles are now read from database on request.