Add some logic to user.jsp