check user login status in views by view-helpers