putting after_initialize in user.rb
initializer works, default role is set to 'student'
filter works, also fixed attribute mismatches in the views. Now working on flash upon redirect
added header and footer