fix bug: user wasn't stored in localstorage on login
fix bug in join to userhasboard
add local DB_NAME to CredentialsReader.php