login cleanup
pages admin functions added