Added real time analysis login function