moved current_user method to test_helper