login session and metric dev are completed. need more test from now.