minor bug fixed for the current_user when the web-app is loaded for 1st time