Dynamically set user class to forms