Adding more conditions on join/merge/invite button + aligning student pr...

...ofile texts