current user logic