Fully functioning account system

The current user can now be flawlessly acsessed from logging in and
securely logging out