homepage tpl for authenticated user
added logout ctrl
menu link fix
render function second argument defaults to an empty array now
added function to determine whether user is logged in or not
login functionality nearly finished