added upload file handler
Added simple SSO