Writing Secure Authentication Logic – Skill Rising