Logged in user now constant

The logged in user variable is present across the application and able
to register, then login using just the username and able to retrieve
their units and post to that unit