button sorting, for login/register. Link code needs to be rewritten