added loginactivity