replaced  by raintpl var for current user
updated initializeUser method