made a fix to code based on dickey's input - forgot to instaniate the current_user variable as an instance variable