Storing the uid values in session