Updated to use correct database

Have updated register user and login to reflect new database, also added
new page of loginfail