added authentication helpers
added profile test (3.10)