checking for nil text
setting current user