create user metadata if it does not exist

When the user is logged in using openshift credentials the user metadata
is not created because the users was not initially registered. This checks
the metadata and creates it if it does not exits.