Finished a working login system