Fixes to primary tabs and registration page