Add logic for view, administrative and student.

Add logic to selectively show controls and fields
based on the identity of the user that is logged in.