added current user to javascript variables