[#10] added user check in views