added preliminary support for autostart at loggin

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>