created custom login/logout functions