login and registeruser minor issues fixed