Added some authentication features