Added error checking and correspondent user information