moved sign out def to page.rb

invoked it in profile_spec.rb