add Html helper class and safe method.
add logout method, check input if $input has authLogin information.