Added sessions and auth