js work for user account