fixed the broken view
fixed typo
fixed the if condition order
added testing for basic survey users
added basic_user param
rvm settings