finished login module