added logout capability and moved login/logout html files to top level templates/registration