added lessons spec, lessons helper, and login helpers to support login_as_user feature