added category validation under accounts model