[#97] login helper writen