[#60][#61] working on authentication logic