Increased reusability of register & login js and jade methods for user &
admin profile views.