Working on the custom login