Fixed user to work with shiro