added custom login form + logout redirection