fixed bcrypt issue -- adding some boilerplate view code