making the auth system, need some checks for login in the template
making the auth system, need some checks for login in the template