reorganizes wrapper div to fix bug breaking welcome logins

I wrapped a div with wrapper around my <%= yield %> in application.html.erb. To fix it, I put it inside logic that was already controlling the view for login-specific logic.
create helper method to explain PG to teachers