Added logic to get correct form based on user