Wrote RSpec test for user to log in and log out (test currently fails)