add uni login checking logic