Testing login implementation